/*
class Solution {
    public List<List<Integer>> threeSum(int[] nums) {
        List<List<Integer>> ret = new ArrayList<>();
        Arrays.sort(nums);
        int sum = 0;
        for(int i = nums.length-1;i>=2;i--){
            List<Integer> tmp = new ArrayList<>();
            int left = 0;
            int right = i -1;
            while(left<right){
                if(nums[left]+nums[right]+nums[i]>0){
                    right--;
                    while(left<right&&nums[right]==nums[right-1]){
                        right--;
                    }
                }else if(nums[left]+nums[right]+nums[i]<0){
                    left++;
                    while(left<right&&nums[left]==nums[left+1]){
                        left++;
                    }
                }else{
                    tmp.add(nums[left]);
                    tmp.add(nums[right]);
                    tmp.add(nums[i]);
                    ret.add(tmp);
                }
            }
        }
        return ret;
    }
}*/
public class Test {
    public static void main(String[] args) {
        int a = 6;
        char ch =(char)(a+'0');
        System.out.println(ch);
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(ch);
        String s = stringBuilder.toString();
        System.out.println(s.charAt(0));
    }
}






















